<?php             
$dataProvider->pagination = array(
    'pageSize' => $this->PageSize,
);

$params = array(
    'dataProvider'=>$dataProvider,
    'itemView'=>$this->SelectedLayout->ItemView,
    'summaryText'=>null,
);

if ($this->ShowResultCoutner == false)
    $params['summaryText'] = '';
    
if ($this->PagerStyle == 0)
    $params['pager']=array(
        'class' => 'CLinkPager',
        'maxButtonCount' => 0,        
    );


$this->widget('zii.widgets.CListView', $params);
?>